package com.lirh.mysql.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.sql.Timestamp;

@TableName("purchase_record")
@Data
public class PurchaseRecord {
    @TableId
    private Integer id;
    private Integer userId;
    private Integer productId;
    private Double price;
    private Integer quantity;
    private Double sum;
    private Timestamp timestamp;
    private String note;
}
